//diag_log format["Setting up fnc_win_west"];
//fnc_win_west = {
if !(isDedicated) then {
	/* West wins */
	if (side player == west) then {
		player sideChat "WEST WINS. You get an extra $100";
		[100] call fnc_modify_money;
	};

	/* Show victory text */
	switch (_this select 0) do
	{
		case 0: {
			titleText [format["All the filthy terrorists are dead.\n\nBLUFOR wins!"], "PLAIN"];	
		};
		case 1: {
			titleText [format["The bomb was successfully defused.\n\nBLUFOR wins!"], "PLAIN"];
		};
		default {
			titleText [format["BLUFOR wins!"], "PLAIN"];
		};
	};
};

	[] call fnc_win_restart;
//};